package cn.openea.perpartner.meily.web.service.impl;

import cn.openea.perpartner.meily.web.entity.BehaviorRecords;
import cn.openea.perpartner.meily.web.mapper.BehaviorRecordsMapper;
import cn.openea.perpartner.meily.web.service.IBehaviorRecordsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * @author rains
 * @since 2023-05-19 11:24
 */
@Service("behaviorRecordsService")
public class BehaviorRecordsServiceImpl extends ServiceImpl<BehaviorRecordsMapper, BehaviorRecords> implements IBehaviorRecordsService {

    /**
     * 新增
     * @param records 实例对象
     * @return
     */
    @Override
    public int insit(BehaviorRecords records) {
        return baseMapper.insert(records);
    }
}
